import { adminupdateSettings } from "@/type/setting"
import request from "@/utils/request"

//管理员查询系统设置
export const admingetSetting=()=>{
    return request({
        url:'/admin/settings',
        method:'get'
    })
}

//管理员更新系统设置
export const adminupdateSetting=(data:adminupdateSettings)=>{
    return request({
        url:'/admin/settings',
        method:'put',
        data
    })
}